package com.nami.store.biz.convertask.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nami.store.api.request.conversation.task.ConverTaskAddReq;
import com.nami.store.domain.ConverTaskDO;

import java.util.List;

public interface ConverTaskRepository {
    Page<ConverTaskDO> getTask(Integer pageIndex, Integer pageSize);

    boolean batchDel(List<Long> ids);

    boolean addConverTask(String taskKey);

    boolean batchSave(List<ConverTaskDO> tasks);

    boolean insert(List<ConverTaskDO> batch);
}
